<template>
  <div id="app">
    <!--<HelloWorld/>-->
    <div>
      <el-container>
        <!--header-->
        <base-header/>
        <!--main-->
        <div class="main_container">
          <!--mian-->
          <el-scrollbar style="calc(100% - 80px); margin-top: 80px;overflow: hidden">
            <el-container>
              <div class="container_main ">
                <page_container_main></page_container_main>
              </div>
            </el-container>
          </el-scrollbar>
        </div>
      </el-container>
    </div>

  </div>
</template>

<script>
  import HelloWorld from './components/HelloWorld'
  import El_container from './pages/el_container/page_container'
  import BaseHeader from './components/BaseHeader'
  import Page_container_main from './components/Page_container_main'

  export default {
    data () {
      return {}
    },
    name: 'App',
    components: {
      El_container,
      HelloWorld,
      BaseHeader,
      Page_container_main
    }
  }
</script>

<style>
  /*base*/
  body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,SimSun,sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
  }
  /*样式*/
  .hljs {
    line-height: 1.8;
    font-family: Menlo, Monaco, Consolas, Courier, monospace;
    font-size: 12px;
    padding: 18px 24px;
    background-color: #fafafa;
    border: 1px solid #eaeefb;
    margin-bottom: 25px;
    border-radius: 4px;
  }

  .page-component h3 {
    margin: 55px 0 20px;
  }

  input {
    cursor: pointer;
  }

  .color_one {
    background-color: pink;
  }

  .color_two {
    background-color: deepskyblue;
  }

  .color_three {
    background-color: yellowgreen;
  }

  .main_container {
    /*background-color: burlywood;*/
    margin-top: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
    overflow: hidden;
    /*margin-top: 80px;*/
  }

  .container_main {
    /*width: 85%;*/
    width: 1140px;
    margin: 0 auto;
    /*margin-top: 80px;*/
    overflow: hidden;

  }

  /* p 标签样式*/
  .main_container p {
    font-size: 14px;
    color: #5e6d82;
    line-height: 1.5em;
  }

  .main_container h2, .main_container h3, .main_container h4, .main_container h5 {
    font-weight: 400;
    color: #1f2f3d;
  }
</style>
